package com.daoxiang.dao;


import com.daoxiang.pojo.Goods;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface GoodsMapper extends Mapper<Goods> {
    List<Goods> queryGoods(Goods goods);

    List<Goods> queryGoodsByKey(String gname);

    int updateGoodById(Goods goods);

    int deleteGoodById(Integer gid);

    int insertGood(Goods goods);
}
